package com.aipp.mall.h5.domain.entity;

import com.aipp.mall.common.anno.Note;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 会员登录记录对象 ums_member_logininfor
 *
 * @author zcc
 */
@Data
@TableName("ums_member_logininfor")
public class MemberLogininfor implements Serializable {

    @Serial
    private static final long serialVersionUID = 8031878651602792826L;

    private Long id;

    @Note(name = "会员手机号")
    private String phone;

    @Note(name = "会员id")
    private Long memberId;

    @Note(name = "登录IP地址")
    private String ipaddr;

    @Note(name = "登录地点")
    private String loginLocation;

    @Note(name = "浏览器类型")
    private String browser;

    @Note(name = "操作系统")
    private String os;

    @Note("登陆时间")
    private LocalDateTime loginTime;

}
